import Vue from 'vue'
import Router from 'vue-router'
import ymIndex from '@/views/ymIndex.vue'
import ymMediaDowntown from '@/views/ymMediaDowntown.vue'
import ymMediaPublic from '@/views/ymMediaPublic.vue'
import ymMediaTrain from '@/views/ymMediaTrain.vue'
import ymHighspeed from '@/views/ymHighspeed.vue'
import ymAirport from '@/views/ymAirport.vue'
import ymMetro from '@/views/ymMetro.vue'
import ymPassenger from '@/views/ymPassenger.vue'
import ymBuilding from '@/views/ymBuilding.vue'
import ymSuper from '@/views/ymSuper.vue'
import ymFeature from '@/views/ymFeature.vue'
import ymList from '@/views/ymList.vue'
import ymCase from '@/views/ymCase.vue'
import ymExpert from '@/views/ymExpert.vue'
import ymStore from '@/views/ymStore.vue'
import ymMember from '@/views/ymMember.vue'
import ymRegister from '@/views/ymRegister.vue'
import ymEnroll from '@/views/ymEnroll.vue'
import ymPassword from '@/views/ymPassword.vue'
import ymMemberdefault from '@/views/ymMemberdefault.vue'
import ymMemberstore from '@/views/ymMemberstore.vue'
import ymShoppingcart from '@/views/ymShoppingcart.vue'
import ymShoppingcartcommit from '@/views/ymShoppingcartcommit.vue'
import ymMembershop from '@/views/ymMembershop.vue'
import ymMemberorder from '@/views/ymMemberorder.vue'
import ymMemberaccount from '@/views/ymMemberaccount.vue'
import ymMemberindent from '@/views/ymMemberindent.vue'
import ymMemberattentionmedia from '@/views/ymMemberattentionmedia.vue'
import ymattentionmedia from '@/views/ymattentionmedia.vue'
import ymMemberattentionstore from '@/views/ymMemberattentionstore.vue'
import ymAttentionstore from '@/views/ymAttentionstore.vue'
import ymMemberattentionactivity from '@/views/ymMemberattentionactivity.vue'
import ymAttentionactivity from '@/views/ymAttentionactivity.vue'
import ymMemberneed from '@/views/ymMemberneed.vue'
import ymMemberenquiry from '@/views/ymMemberenquiry.vue'
import ymMembererror from '@/views/ymMembererror.vue'
import ymMembermyerror from '@/views/ymMembermyerror.vue'
import ymMemberstoretube from '@/views/ymMemberstoretube.vue'
import ymMemberstorecombo from '@/views/ymMemberstorecombo.vue'
import ymMemberstorecomboadd from '@/views/ymMemberstorecomboadd.vue'
import ymMemberstorecomboaddmedia from '@/views/ymMemberstorecomboaddmedia.vue'
import ymMemberstorecomboaddsubmit from '@/views/ymMemberstorecomboaddsubmit.vue'
import ymMembermyactivity from '@/views/ymMembermyactivity.vue'
import ymMembermyaddactivity from '@/views/ymMembermyaddactivity.vue'
import ymMembermysubmitactivity from '@/views/ymMembermysubmitactivity.vue'
import ymMembermycase from '@/views/ymMembermycase.vue'
import ymMemberaddmycase from '@/views/ymMemberaddmycase.vue'
import ymMembersubmitmycase from '@/views/ymMembersubmitmycase.vue'
import ymMemberaccountamendtel from '@/views/ymMemberaccountamendtel.vue'
import ymMemberaccountamendnewtel from '@/views/ymMemberaccountamendnewtel.vue'
import ymMemberaccountamendtelover from '@/views/ymMemberaccountamendtelover.vue'
import ymMemberaccountamendneweimal from '@/views/ymMemberaccountamendneweimal.vue'
import ymMemberaccountamendeimalover from '@/views/ymMemberaccountamendeimalover.vue'
import ymMemberaccountamendpassword from '@/views/ymMemberaccountamendpassword.vue'
import ymMemberapplyforverify from '@/views/ymMemberapplyforverify.vue'
import ymMemberapplyforverifysubmitover from '@/views/ymMemberapplyforverifysubmitover.vue'
import ymMemberapplyforverifysubmit from '@/views/ymMemberapplyforverifysubmit.vue'
import ymMemberapplyforverifysubmitsucceed from '@/views/ymMemberapplyforverifysubmitsucceed.vue'
import ymMemberapplyforverifysubmiterror from '@/views/ymMemberapplyforverifysubmiterror.vue'
import ymMemberneedlist from '@/views/ymMemberneedlist.vue'
import ymCasedetails from '@/views/ymCasedetails.vue'
import ymNews from '@/views/ymNews.vue'
import ymNewsdetails from '@/views/ymNewsdetails.vue'
import yminformation from '@/views/yminformation.vue'


Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      name: 'ymIndex',
      component: ymIndex
    }, {
      path: '/ymMediaDowntown',
      name: 'ymMediaDowntown',
      component: ymMediaDowntown
    }, {
      path: '/ymMediaPublic',
      name: 'ymMediaPublic',
      component: ymMediaPublic
    }, {
      path: '/ymMediaTrain',
      name: 'ymMediaTrain',
      component: ymMediaTrain
    }, {
      path: '/ymHighspeed',
      name: 'ymHighspeed',
      component: ymHighspeed
    }, {
      path: '/ymAirport',
      name: 'ymAirport',
      component: ymAirport
    }, {
      path: '/ymMetro',
      name: 'ymMetro',
      component: ymMetro
    }, {
      path: '/ymPassenger',
      name: 'ymPassenger',
      component: ymPassenger
    }, {
      path: '/ymBuilding',
      name: 'ymBuilding',
      component: ymBuilding
    }, {
      path: '/ymSuper',
      name: 'ymSuper',
      component: ymSuper
    }, {
      path: '/ymFeature',
      name: 'ymFeature',
      component: ymFeature
    }, {
      path: '/ymList',
      name: 'ymList',
      component: ymList
    }, {
      path: '/ymCase',
      name: 'ymCase',
      component: ymCase
    }, {
      path: '/ymCasedetails',
      name: 'ymCasedetails',
      component: ymCasedetails
    }, {
      path: '/ymNews',
      name: 'ymNews',
      component: ymNews
    }, {
      path: '/ymNewsdetails',
      name: 'ymNewsdetails',
      component: ymNewsdetails
    }, {
      path: '/ymExpert',
      name: 'ymExpert',
      component: ymExpert
    }, {
      path: '/ymStore',
      name: 'ymStore',
      component: ymStore
    }, {
      path: '/ymRegister',
      name: 'ymRegister',
      component: ymRegister
    }, {
      path: '/ymPassword',
      name: 'ymPassword',
      component: ymPassword,
    }, {
      path: '/ymShoppingcart',
      name: 'ymShoppingcart',
      component: ymShoppingcart,
      meta: {
        title: '',
        requireAuth: 'true'
      },
    }, {
      path: '/ymShoppingcartcommit',
      name: 'ymShoppingcartcommit',
      component: ymShoppingcartcommit
    }, {
      path: '/ymEnroll',
      name: 'ymEnroll',
      component: ymEnroll
    }, {
      path: '/ymMember',
      name: 'ymMember',
      component: ymMember,
      meta: {
        title: '',
        requireAuth: 'true'
      },
      children: [
        {
          path: '/',
          redirect: '/ymMemberdefault',
        }, {
          path: '/ymMemberdefault',
          name: 'ymMemberdefault',
          component: ymMemberdefault
        }, {
          path: '/yminformation',
          name: 'yminformation',
          component: yminformation
        },  {
          path: '/ymMemberstore',
          name: 'ymMemberstore',
          component: ymMemberstore
        }, {
          path: '/ymMembershop',
          name: 'ymMembershop',
          component: ymMembershop
        }, {
          path: '/ymMemberorder',
          name: 'ymMemberorder',
          component: ymMemberorder,
        }, {
          path: '/ymMemberaccount',
          name: 'ymMemberaccount',
          component: ymMemberaccount
        }, {
          path: '/ymMemberattentionstore',
          name: 'ymMemberattentionstore',
          component: ymMemberattentionstore
        }, {
          path: '/ymAttentionstore',
          name: 'ymAttentionstore',
          component: ymAttentionstore
        }, {
          path: '/ymMemberattentionmedia',
          name: 'ymMemberattentionmedia',
          component: ymMemberattentionmedia
        }, {
          path: '/ymattentionmedia',
          name: 'ymattentionmedia',
          component: ymattentionmedia
        }, {
          path: '/ymMemberattentionactivity',
          name: 'ymMemberattentionactivity',
          component: ymMemberattentionactivity
        }, {
          path: '/ymAttentionactivity',
          name: 'ymAttentionactivity',
          component: ymAttentionactivity
        }, {
          path: '/ymMemberneed',
          name: 'ymMemberneed',
          component: ymMemberneed
        }, {
          path: '/ymMemberenquiry',
          name: 'ymMemberenquiry',
          component: ymMemberenquiry
        }, {
          path: '/ymMembererror',
          name: 'ymMembererror',
          component: ymMembererror
        }, {
          path: '/ymMembermyerror',
          name: 'ymMembermyerror',
          component: ymMembermyerror
        }, {
          path: '/ymMemberstoretube',
          name: 'ymMemberstoretube',
          component: ymMemberstoretube
        }, {
          path: '/ymMemberstorecombo',
          name: 'ymMemberstorecombo',
          component: ymMemberstorecombo
        }, {
          path: '/ymMemberstorecomboadd',
          name: 'ymMemberstorecomboadd',
          component: ymMemberstorecomboadd
        }, {
          path: '/ymMemberstorecomboaddmedia',
          name: 'ymMemberstorecomboaddmedia',
          component: ymMemberstorecomboaddmedia
        }, {
          path: '/ymMemberstorecomboaddsubmit',
          name: 'ymMemberstorecomboaddsubmit',
          component: ymMemberstorecomboaddsubmit
        }, {
          path: '/ymMembermyactivity',
          name: 'ymMembermyactivity',
          component: ymMembermyactivity
        }, {
          path: '/ymMembermyaddactivity',
          name: 'ymMembermyaddactivity',
          component: ymMembermyaddactivity
        }, {
          path: '/ymMembermysubmitactivity',
          name: 'ymMembermysubmitactivity',
          component: ymMembermysubmitactivity
        }, {
          path: '/ymMembermycase',
          name: 'ymMembermycase',
          component: ymMembermycase
        }, {
          path: '/ymMemberaddmycase',
          name: 'ymMemberaddmycase',
          component: ymMemberaddmycase
        }, {
          path: '/ymMembersubmitmycase',
          name: 'ymMembersubmitmycase',
          component: ymMembersubmitmycase
        }, {
          path: '/ymMemberaccountamendtel',
          name: 'ymMemberaccountamendtel',
          component: ymMemberaccountamendtel
        }, {
          path: '/ymMemberaccountamendnewtel',
          name: 'ymMemberaccountamendnewtel',
          component: ymMemberaccountamendnewtel
        }, {
          path: '/ymMemberaccountamendtelover',
          name: 'ymMemberaccountamendtelover',
          component: ymMemberaccountamendtelover
        }, {
          path: '/ymMemberaccountamendneweimal',
          name: 'ymMemberaccountamendneweimal',
          component: ymMemberaccountamendneweimal
        }, {
          path: '/ymMemberaccountamendeimalover',
          name: 'ymMemberaccountamendeimalover',
          component: ymMemberaccountamendeimalover
        }, {
          path: '/ymMemberaccountamendpassword',
          name: 'ymMemberaccountamendpassword',
          component: ymMemberaccountamendpassword
        }, {
          path: '/ymMemberapplyforverify',
          name: 'ymMemberapplyforverify',
          component: ymMemberapplyforverify
        }, {
          path: '/ymMemberapplyforverifysubmitover',
          name: 'ymMemberapplyforverifysubmitover',
          component: ymMemberapplyforverifysubmitover
        }, {
          path: '/ymMemberapplyforverifysubmit',
          name: 'ymMemberapplyforverifysubmit',
          component: ymMemberapplyforverifysubmit
        }, {
          path: '/ymMemberapplyforverifysubmitsucceed',
          name: 'ymMemberapplyforverifysubmitsucceed',
          component: ymMemberapplyforverifysubmitsucceed
        }, {
          path: '/ymMemberapplyforverifysubmiterror',
          name: 'ymMemberapplyforverifysubmiterror',
          component: ymMemberapplyforverifysubmiterror
        }, {
          path: '/ymMemberneedlist',
          name: 'ymMemberneedlist',
          component: ymMemberneedlist
        }
      ]
    }, {
      path: '/ymMemberindent',
      name: 'ymMemberindent',
      component: ymMemberindent
    }
  ]
})
